package transfer;

import pojo.UserAccount;

public class CreateRoomData extends Data {
	private static final long serialVersionUID = -389758243096323206L;
	UserAccount owner;
	String name;
	int score;
	public CreateRoomData(String header ,String name,UserAccount owner,int score) {
		super(header);
		this.name  = name;
		this.owner = owner;
		this.score = score;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public UserAccount getOwner() {
		return owner;
	}
	public void setOwner(UserAccount owner) {
		this.owner = owner;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
